package com.yupi.yupao.model.dto;

import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Map;

/**
 * @Author: Peter
 * @Date: 2024-10-04-23:46
 * @Description: Pe
 */
@Data
public class WxTemplateMessageDTO {
    private String touser; // 接收者的OPENID
    @SerializedName("template_id")
    private String templateId; // 模板ID
    private String page; // 页面路径
    private Map<String, WxTemplateData> data; // 模板内容
    @SerializedName("miniprogram_state")
    private String miniprogramState;
    private String lang;





    public static class WxTemplateData {
        private String value;

        public WxTemplateData(String value) {
            this.value = value;
        }
    }
}
